home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!hpl3sn03.cern.ch
- From: Dan Pop <danpop@mail.cern.ch>
- Newsgroups: comp.lang.c
- Subject: Re: Unbuffered character input...
- Date: Fri, 2 Feb 1996 21:43:26 +0100
- Organization: CERN European Lab for Particle Physics
- Message-ID: <9602022043.AA13287@dxmint.cern.ch>
- References: <Pine.SGI.3.91.960129190205.27936A-100000@tahiti.cs.unm.edu> <4elf0t$5vd@ixnews2.ix.netcom.com> <4ep3a1$bee@hacgate2.hac.com> <DM2zCI.379@emr1.emr.ca> <9602011208.AA06949@dxmint.cern.ch> <4etiup$fig@airdmhor.gen.nz>
- X-NNTP-Posting-Host: hpl3sn03.cern.ch
- X-Newsreader: NN version 6.5.0 #7 (NOV)
- X-Mail2News-Path: dxmint.cern.ch!hpl3sn03.cern.ch
-
- gumboot@airdmhor.gen.nz (Simon Hosie) writes:
-
- > What is the advantage of line buffering user input, anyway?
-
- 1. It optimizes the cpu time spent on terminal I/O. Not an issue on a
- DOS box, but quite important on systems with hundreds of terminals.
-
- 2. It gives the user a chance to correct the mistakes in his input
- before pressing 'Return'.
-
- 3. It allows C to be implemented on systems which only support line
- buffered terminal I/O (i.e. terminals which won't send anything to the
- computer before the 'Return' key has been pressed).
-
- Dan
- --
- Dan Pop
- CERN, CN Division
- Email: danpop@mail.cern.ch
- Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
-